package sjms.behavior.observer;

/**
 * @ClassName:
 * @Description:
 * @Author fcb
 * @Date 2020/6/9 13:18
 */
public class Test {

    public static void main(String[] args) {
        ConcreteSubject subject = new ConcreteSubject();
        Observer observer = new ConcreteObserver(subject);

        subject.setState("1");
        subject.setState("2");
    }
}
